/**
 * 天气预报android开源系统V1.0(武汉永恒成就信息科技有限公司)
 * author:Hu yunbo
 * Email :yunboh@gmail.com
 * Time:2011年2月17日
 */


package com.android.weather.weather;

import java.util.ArrayList;

/**
 *  天气设置类
 * @author Hu yunbo
 *
 */
public class WeatherSet {
	

	private WeatherCurrentCondition myCurrentCondition = null;
	private ArrayList<WeatherForecastCondition> myForecastConditions = 
		new ArrayList<WeatherForecastCondition>(4);


	public WeatherCurrentCondition getWeatherCurrentCondition() {
		return myCurrentCondition;
	}

	public void setWeatherCurrentCondition(
			WeatherCurrentCondition myCurrentWeather) {
		this.myCurrentCondition = myCurrentWeather;
	}

	public ArrayList<WeatherForecastCondition> getWeatherForecastConditions() {
		return this.myForecastConditions;
	}

	public WeatherForecastCondition getLastWeatherForecastCondition() {
		return this.myForecastConditions
				.get(this.myForecastConditions.size() - 1);
	}
}
